package pack;
import java.util.ArrayList;

public class ArrayListVsLinkedList {

	//arraycopy
	//insert[0]
	public static void main(String[] args) {
		int i = 10;
		final int COUNT = 1000000;
		long t = 0;
		for (int j = 1; j<COUNT; j++) {
			t += System.nanoTime();
			i++;
			t -= System.nanoTime();
		}
		System.out.println((double)t/COUNT);
		System.out.println(new Object().hashCode());
	}
}
